<div ng-include="sys_html('common/_header')"></div>
<style>
.headinfo .mod-member {
    position: absolute;
    margin: 0 auto;
	margin-top: 2.5rem;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -1px;
    width: 36px;
	height: 26px;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #4491F1;
}
.headinfo .bottombg {position: absolute;bottom:-20px;width:100%;height:22px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
		<div class="headinfo" style="height:4rem;background:{{main.syscolor || '#7c1cc9'}}">
				<div class="bottombg" style="background:{{main.syscolor || '#7c1cc9'}};">
				</div>
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/member.qiandao/')" style="background:{{main.syscolor || '#7c1cc9'}};">签到</div>
						<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:4rem">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="top: 2rem;background: {{main.syscolor || '#4491F1'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999;flex: 1;text-align:left;">
													<div class="l bold" style="width:100%">{{pagedata.item.nickname || '8S7B6FD'}} （<span onclick="$('#show_vipcard').modal();"  style="color:{{main.syscolor || '#4491F1'}}"> {{pagedata.item.level || '默认等级'}}</span>）</div>
													<div class="l">
														<div style="width:100%;font-size:12px" href="javascript:;">手机: {{pagedata.item.mobile || '无'}}</div>
														<div style="font-size:12px">
														</div>
													</div>
												</div>
									
						</div>						
					</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="margin-top: 2rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_jifenyou/index/')">
								<div class="fui-cell-icon"><i class="icon icon-jifen1"></i></div>
								<div class="fui-cell-text">我的积分</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">立即兑换</div>
							</a>
							<div class="fui-icon-group noborder  col-2">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="font-size:1rem;">{{pagedata.item.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:0.8rem;color: #666;">可用积分</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="font-size:1rem;">{{pagedata.item.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:0.8rem;color: #666;">即将过期</div>
													</div>
												</div>
							</div>
						</div>
						<div class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_jifenyou/order/')">
											<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
											<div class="fui-cell-text">
												我的订单
											</div>
											<div class="fui-cell-remark"></div>
										</a>
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_jifenyou/kefu/')">
											<div class="fui-cell-icon"><i class="icon icon-kefu"></i></div>
											<div class="fui-cell-text">
												联系客服
											</div>
											<div class="fui-cell-remark"></div>
										</a>
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_jifenyou/tousu/')">
											<div class="fui-cell-icon"><i class="icon icon-survey1"></i></div>
											<div class="fui-cell-text">
												投诉建议
											</div>
											<div class="fui-cell-remark"></div>
										</a>
						</div>
				<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.item.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.item.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.item.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode" style="height:2.5rem"/>
                        <span class="r-f">{{pagedata.item.level}}</span>
                    </div>
            </div>
		</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<div ng-include="sys_html('_tanmu')"></div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.id,{fontSize:36});
});
</script>